package s63.kong.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import s63.kong.shop.pojo.Role;
import s63.kong.shop.service.RoleService;
import s63.kong.shop.mapper.RoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{

    @Override
    public List<Role> listByUserId(Long userId) {
        return getBaseMapper().listByUserId(userId);
    }
}




